const http = uni.$u.http

// 获取短信码
export const postSend = (data) => http.post('/common/message/sms/send', data);
// 手机号注册
export const regByTel = (data) => http.post('/member/auth/reg/regByTel', data);
// 账号登录
export const oginPwd = (data) => http.post('/member/auth/login/pwd', data);
// 验证码登录
export const oginSms = (data) => http.post('/member/auth/login/sms', data);
// 获取轮播图片
export const allOfPos = (params) => http.get('/member/content/ad/allOfPos', {params});
// 获取用户信息
export const baseInfo = (params) => http.get('/member/user/user/baseInfo', {params});
// 获取实名认证
export const realNameAuthInfo = (params) => http.get('/member/user/realNameAuth/info', {params});
// 获取公告类型
export const noticeType = (params) => http.get('/member/content/notice/allCate', {params});
// 获取公告分页
export const noticePageList = (params) => http.get('/member/content/notice/pageList', {params});
// 获取公告嫌弃
export const noticeInfo = (params) => http.get('/member/content/notice/detail', {params});
// 获取藏品
export const userGoods = (data) => http.post('/member/user/userGoods/hold', data);
// 一级发售
export const goodsSaleList = (params) => http.get('/member/market/goodsSale/pageList', {params});
// 发售详情
export const goodsSaleInfo = (params) => http.get('/member/market/goodsSale/detail', {params});
// 发售创建订单
export const postSaleOrder = (data) => http.post('/member/order/order/addSaleOrder', data);
// 提交实名认证
export const postRealNameAuth = (data) => http.post('/member/user/realNameAuth/sub', data);
// 更新用户信息
export const updateBaseInfo = (data) => http.post('/member/user/user/updateBaseInfo', data);
// 查询是否设置密码
export const checkPwdIsset = (data) => http.post('/member/user/user/checkPwdIsset', data);
// 发验证码给自己
export const sendSelf = (data) => http.post('/common/message/sms/sendSelf', data);
// 设置操作密码
export const updateActSecret = (data) => http.post('/member/user/user/updateActSecret', data);
// 获取平台支持的支付
export const payPlat = (params) => http.get('/pay/cashier/payPlat', {params});
// 获取用户已开通的支付
export const openWallet = (params) => http.get('/pay/userWallet/all', {params});
// 寄售市场
export const groupPageList = (data) => http.post('/member/market/market/groupPageList', data);
// 市场编号列表
export const codePageList = (data) => http.post('/member/market/market/pageList', data);
// 获取所有系列
export const seriesAll = (params) => http.get('/member/goods/series/all', {params});
// 获取寄售详情
export const marketDetail = (data) => http.post('/member/market/market/detail', data);
// 获取开通钱包链接
export const userWalletOPen = (data) => http.post('/pay/userWallet/open', data);
// 活动详情
export const activityInfo = (params) => http.get('/member/activity/activity/detail', {params});
// 活动材料详情
export const activityChannelInfo = (params) => http.get('/member/activity/activityChannel/detail', {params});
// 立即转换
export const activityCovert = (data) => http.post('/member/activity/activityChannel/covert',data);
// 支付订单
export const cashierPay = (data) => http.post('/pay/cashier/pay', data);
// 藏品编号详情
export const  codeDetails = (params) => http.get('/member/goods/code/detail',{params});
// 藏品详情
export const  goodsDetails = (params) => http.get('/member/goods/goods/detail',{params});
// 创建二级订单
export const  addMarketOrder = (data) => http.post('/member/order/order/addMarketOrder',data);
// 快捷创建订单
export const  lowestMarketOrder = (data) => http.post('/member/order/order/lowestMarketOrder',data);
// 我的藏品折叠列表
export const  goodsGroupPageList = (data) => http.post('/member/user/userGoods/goodsGroupPageList',data);
// 我持有的藏品编号列表
export const  myGoodsCodeList = (data) => http.post('/member/user/userGoods/hold',data);
// 添加寄售
export const  marketAdd = (data) => http.post('/member/market/market/add',data);
// 我的寄售列表
export const  myMarketList = (data) => http.post('/member/market/market/my',data);
// 取消寄售
export const  cancelMarket = (data) => http.post('/member/market/market/cancel',data);
// 获取我的订单
export const  userOrderList = (params) => http.get('/member/order/userOrder/pageList',{params});
// 订单详情
export const  userOrderDetail = (params) => http.get('/member/order/userOrder/detail',{params});
// 查看我的钱包
export const  userWalletInfo = (data) => http.post('/pay/userWallet/info',data);
// 寄售计算收入
export const  marketAddPre = (data) => http.post('/member/market/market/addPre',data);
// 请求一次初始化配置
export const  configIndex = (data) => http.post('/common/config/config/index',data);
// 获取抽奖详情
export const  drawDetail = (params) => http.get('/member/activity/draw/detail',{params});
// 进行抽奖
export const  haveDraw = (data) => http.post('/member/activity/draw/draw',data);
// 活动记录
export const  coverLog = (params) => http.get('/member/activity/coverLog/pageList',{params});
// 抽奖记录
export const  drawLog = (params) => http.get('/member/activity/drawLog/pageList',{params});
// 拉新活动设置
export const  inviteActivity = (params) => http.get('/member/activity/activity/inviteActivity',{params});
// 拉新记录
export const  inviteLog = (params) => http.get('/member/activity/inviteLog/pageList',{params});
// 获取所有收货地址
export const  userAddressAll = (params) => http.get('/member/user/userAddress/all',{params});
//添加地址
export const  userAddressAdd = (data) => http.post('/member/user/userAddress/add',data);
// 删除地址
export const  userAddressDel = (data) => http.post('/member/user/userAddress/del',data);
// 修改地址
export const  userAddressEdit = (data) => http.post('/member/user/userAddress/update',data);
// 收藏藏品
export const  focusGoods = (data) => http.post('/member/user/userGoods/focusGoods',data);
// 获取所有收藏的藏品
export const  focusedGoods = (data) => http.post('/member/user/userGoods/focusedGoods',data);
// 账号注销
export const  userOff = (params) => http.get('/member/user/apply/offAcc',{params});
// 开启盲盒
export const  openBlindBox = (data) => http.post('/member/activity/blindBox/open',data);
// 商城分类
export const  productCate = (params) => http.get('/member/goods/productCate/all',{params});
// 获取商城商品
export const  productList = (params) => http.get('/member/goods/product/pageList',{params});
// 商品详情
export const  productInfo = (params) => http.get('/member/goods/product/detail',{params});
// 创建商品订单
export const  addProOrder = (data) => http.post('/member/order/order/addProOrder',data);
// 流转记录
export const  codeFlow = (params) => http.get('/member/goods/codeFlow/pageList',{params});
// 开盒记录
export const  openLog = (params) => http.get('/member/activity/blindBox/openLog',{params});
// 开通快付通
export const  bindKftCard = (data) => http.post('/pay/userWallet/openKFT',data);
// 连连云钱包提现
export const  userApply = (data) => http.post('/pay/withdrawal/userApply',data);
// 获取连连钱包获取token
export const  llPwdToken = (data) => http.post('/pay/secure/llPwdToken',data);
// 提现获取银行卡号
export const  backCard = (params) => http.get('/pay/backCard/llCards',{params});
// 连连短信二次确认
export const  llUserValidateSms = (params) => http.get('/pay/secure/llUserValidateSms',{params});
// 修改密码
export const  changePwd = (data) => http.post('/pay/userWallet/changePwd',data);
// 找回密码申请
export const  forgotPwdApply = (data) => http.post('/pay/userWallet/forgotPwdApply',data);
// 找回密码验证码验证
export const  forgotPwdVerify = (data) => http.post('/pay/userWallet/forgotPwdVerify',data);
// 查询银行卡
export const  backCardGetAll = (data) => http.post('/pay/backCard/getAll',data);
// 连连钱包新增绑卡
export const  bindAdd = (data) => http.post('/pay/backCard/bindAdd',data);
// 解绑银行卡
export const  unlinkBankCard = (data) => http.post('/pay/backCard/unlinkBankCard',data);
// 连连充值
export const  addRechargeOrder = (data) => http.post('/member/order/order/addRechargeOrder',data);
// 创建开户手续订单
export const  addOpenWalletOrder = (data) => http.post('/member/order/order/addOpenWalletOrder',data);
// 获取一些枚举
export const  dictGetAll = (data) => http.post('/common/dict/getAll',data);
// 快捷付款短信二验证
export const  postSmsConfirm = (data) => http.post('/pay/cashier/smsConfirm',data);
// 获取默认收货地址
export const  getDef = (data) => http.post('/member/user/userAddress/getDef',data);
// 获取地址详情
export const  getAddRessInfo = (params) => http.get('/member/user/userAddress/detail',{params});
// 提交修改登录密码
export const  forgotPass = (data) => http.post('/member/user/user/forgotAndUpdateLoginSecret',data);
// 软件内修改密码
export const  updateLoginSecret = (data) => http.post('/member/user/user/updateLoginSecret',data);



